<template>
  <div class="img_box">
    <el-image style="width: 100%; height: 100px" :src="url" fit="fill" />
    <div class="name">
        名字
    </div>
  </div>
</template>

<script lang='ts' setup>
import { toRefs, defineProps } from 'vue';
const props = defineProps({
	url: {
		type: String,
	},
});
const { url } = toRefs(props);

</script>

<style lang='scss' scoped>
.img_box{
    width: 140px;
    background-color: #F7F8FA;
    border-radius: 3px;

    .name{
        padding: 0px 3px;
        width: 100%;
    }

}
</style>